package com.juc.executorService.executorService2;

import java.util.concurrent.Callable;

public class MyCallableA implements Callable<String>{

	@Override
	public String call() throws Exception {
        System.out.println(" MyCallableA "+ Thread.currentThread().getName() + "   " + " being " + System.currentTimeMillis());
		for (int i = 0; i < 123456; i++) {
			String newString = new String();
			Math.random();
			Math.random();
			Math.random();
			Math.random();
			Math.random();
			System.out.println(" MyCallableA 在运行中= " + (i+1));
		}
		System.out.println(" MyCallableA " + Thread.currentThread().getName() + "   " + "end " + System.currentTimeMillis());
		
        return "returnA";
	}

}
